#Replication of Egami et al “How to Make Causal Inferences with Text”

ImmigrationExperiments folder contains Immigration Experiment Replication Files:

— Code Folder contains R code for replicating Experiments 1 and 3 (including the link to download the data for Experiment 1)
 —Data Folder contains data for Experiment 2 (Experiment2.csv) and Experiment 3 (experiment3.csv)
— Data Folder contains trained STM files for Experiments 1 (TrainedSTM.RData)  and Experiment 3 (2017TrainedSTM.RData)
— Output Folder contains pdf files for Figures

CFPB folder contains Text as Treatment Replication Files
— CFPBAnalysis.R  — Text as Treatment replication code
— CFPBDt.csv — Text as Treatment replication data